package com.liu.lsm.livestock.mapper;

import com.liu.lsm.livestock.entity.History;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HistoryMapper {
    int deleteById(Integer id);
    int insertById(History history);
    List<History> selectById(Integer livestockId);
    List<History> listAll(History history);
    int updateById(History history);
}